package unused;


public class FourQuartersLayout implements TabLayout {
	private static final float[] TAB_MODIFIERS = {0f, 0.5f, 0f, 0.5f};
	
	public int getNumTabs(float w, float h) { return 4; }
	
	@Override
	public float getTabX(float w, float h, int num) {
		return w * TAB_MODIFIERS[num];
	}
	
	public float getTabY(float w, float h, int num) {
		return h * TAB_MODIFIERS[num];
	}
	
	@Override
	public float getTabW(float w, float h, int num) {
		return w / 2f;
	}
	
	@Override
	public float getTabH(float w, float h, int num) {
		return h / 2f;
	}
}
